<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/searchform.css">
<link rel="stylesheet" href="statics/css/BasicData/tpl/customerinfo.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header layui-bg-cyan">
            <span>供应商信息</span>
        </div>
        <div class="layui-card-body">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <form class="layui-form" action="" lay-filter="editor-form" id="editor-form">
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">基本信息</li>
                                <li class="">银行信息</li>
                                <li class="">日志</li>
                            </ul>
                            <div class="layui-tab-content">
                                <div class="layui-tab-item layui-show">
                                    <div class="basic-information">
                                        <div class="layui-form-left">
                                            <%--  左边表单--%>
                                            <div class="layui-form-item zdy-item-css">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">供应商简称</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="customerabbreviation" lay-verify="required" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">采购员</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="salesman" lay-verify="required" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-css">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">供应商编码</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="customercode" lay-verify="required" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">供应商类型</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="customertype" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-csstext">
                                                <label class="layui-form-label">供应商名称</label>
                                                <div class="layui-input-inline">
                                                    <textarea name="customername" placeholder="请输入内容" class="layui-textarea"></textarea>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-csstext">
                                                <label class="layui-form-label">供应商地址</label>
                                                <div class="layui-input-inline">
                                                    <textarea name="customeraddress" placeholder="请输入内容" class="layui-textarea"></textarea>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-css">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">国家/地区</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="statearea" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">港口/省份</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="portprovince" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-css">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">城市</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="city" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">邮编</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="postcode" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-css">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">电话</label>
                                                    <div class="layui-input-inline">
                                                        <input type="tel" name="phone" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">账期</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="fax" lay-verify="required" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-css">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">开户银行</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="depositbank" lay-verify="required" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">开户账号</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="bankaccount" lay-verify="required" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-css">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">等级</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="level" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">主营产品</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="mainproducts" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-css">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">客户来源</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="customersource" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">业务类型</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="businesstype"  autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-css">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">主页</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="homepage" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">快寄地址</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="sendaddress" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-css">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">客户级别</label>
                                                    <div class="layui-input-inline">
                                                        <input type="text" name="customerlevel" autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item zdy-item-csstext">
                                                <label class="layui-form-label">备注</label>
                                                <div class="layui-input-inline">
                                                    <textarea placeholder="请输入内容" class="layui-textarea"></textarea>
                                                </div>
                                            </div>
                                            <%--  左边表单end--%>
                                        </div>
                                        <%--  右边表单--%>
                                        <div class="layui-form-right">
                                            <div class="layui-form-item">
                                                <a type="button" class="layui-btn layui-btn-sm layui-btn-normal" id="shared">共享</a>
                                            </div>
                                            <div class="layui-form-item">
                                                <div class="layui-col-md12">
                                                    <div class="layui-col-md3">
                                                        <input type="text" name="modules" autocomplete="off" class="layui-input">
                                                    </div>
                                                    <label class="layui-form-label">审批状态：草稿</label>
                                                </div>
                                            </div>
                                            <div class="layui-form-item layui-form-imgsc">
                                                <div class="userimgdiv">
                                                    <img src="statics/images/layui-logo.jpg" id="userphotos" class="form-right-img"/>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div  class="layui-tab-item">
                                    <table class="layui-table" id="bankselect" lay-filter="banktable"></table>
                                </div>
                                <div  class="layui-tab-item">
                                    <table class="layui-table" id="infoselect" lay-filter="infotable"></table>
                                </div>
                            </div>
                        </div>
                        <table class="layui-table" id="supplierselect" lay-filter="suppliertable"></table>
                        <%--底部按钮--%>
                        <div class="padding">
                            <div class="layui-col-md2">
                                <a type="button" class="layui-btn">打印</a>
                            </div>
                            <div class="layui-col-md10 text-right">
                                <a type="button" class="layui-btn layui-btn-primary" id="shutdown">关闭</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/BasicData/tpl/viewsupplierinfo.js"></script>